home *** CD-ROM | disk | FTP | other *** search
/ Young Minds / Young Minds Interactive CD-ROM.ISO / wanderer / help.c < prev    next >
Encoding:
C/C++ Source or Header  |  1988-10-26  |  3.7 KB  |  102 lines

  1. /* From jason@uucp.aeras */
  2.  
  3. #include "wand_head.h"
  4.  
  5. char *help[]={
  6. "      **  W A N D E R E R  **      ", /* 0 */
  7. "    ===========================    ", /* 1 */
  8. "        by Steven Shipway          ", /* 2 */
  9. "How to play:                       ", /* 3 */
  10. " Collect all the treasure:    /$\\  ", /* 4 */
  11. "                              \\$/  ", /* 5 */
  12. " Then go through the exit:    Way  ", /* 6 */
  13. " Default keys are:            out  ", /* 7 */
  14. "  h  Left       j  Down            ", /* 8 */
  15. "  k  Up         l  Right           ", /* 9 */
  16. "  1  Loud       q  Quit game       ", /* 10 */
  17. "  0  Quiet      !  Look at map     ", /* 11 */
  18. "  S  Save game  R  Restore Game    ", /* 12 */
  19. "  ?  Enter help mode               ", /* 13 */
  20. "  ~  Jump to next level            ", /* 14 */
  21. "     (does not receive level bonus)", /* 15 */
  22.  
  23. "This is you:  You are a spider.    ", /* 0 */
  24. "      o       (At least, that's    ", /* 1 */
  25. "     <|>      what you look like)  ", /* 2 */
  26. "                                   ", /* 3 */
  27. "The other items you will find are: ", /* 4 */
  28. "                                   ", /* 5 */
  29. "  ###     -=-                      ", /* 6 */
  30. "  ### and =-=    Solid rock        ", /* 7 */
  31. "                                   ", /* 8 */
  32. "  <O>   Time capsule (5 points,    ", /* 9 */
  33. "        +250 extra moves)          ", /* 10 */
  34. "   .                               ", /* 11 */
  35. "  . .   Passable earth (one point) ", /* 12 */
  36. "                                   ", /* 13 */
  37. " (*)   Teleport  (50 points for    ", /* 14 */
  38. " (*)              using it)        ", /* 15 */
  39.  
  40. "  /^\\   Boulder (falls down, other ", /* 0 */
  41. "  \\_/   boulders and arrows fall   ", /* 1 */
  42. "        off of it)                 ", /* 2 */
  43. "                                   ", /* 3 */
  44. "  <--     -->  Arrows              ", /* 4 */
  45. "  <-- and -->  (run left and right)", /* 5 */
  46. "                                   ", /* 6 */
  47. "  TTT   Cage - holds baby monsters ", /* 7 */
  48. "  III   and changes into diamonds  ", /* 8 */
  49. "                                   ", /* 9 */
  50. "  /$\\    (10 points)               ", /* 0 */
  51. "  \\$/    Money  (collect it)       ", /* 1 */
  52. "                                   ", /* 2 */
  53. "  -o-  Baby monster (kills you)    ", /* 3 */
  54. "  /*\\                              ", /* 4 */
  55. "                                   ", /* 5 */
  56.  
  57. "When a baby monster hits a cage it ", /* 0 */
  58. "is captured and you get 50 points. ", /* 1 */
  59. "The cage also becomes a diamond.   ", /* 2 */
  60. "                                   ", /* 3 */
  61. " !!! and  I  Instant annihilation  ", /* 4 */
  62. " !!!      o                        ", /* 5 */
  63. "                                   ", /* 6 */
  64. " \\_       _/   Slopes (boulders    ", /* 7 */
  65. "   \\ and /     and etc slide off)  ", /* 8 */
  66. "                                   ", /* 9 */
  67. " }o{  Monster  (eats you up whole. ", /* 0 */
  68. " /^\\  Yum Yum yum..) (100 points)  ", /* 1 */
  69. "      (kill with a rock or arrow)  ", /* 2 */
  70. "                                   ", /* 3 */
  71. " Way  Exit -- Must Collect all the ", /* 4 */
  72. " out  treasure first. (250 bonus)  ", /* 5 */
  73. };
  74.  
  75.  
  76.  
  77. void
  78. helpme()    /* routine to show help menu. */
  79. {
  80.     int i = 0, i1 = 0, i2 = 0;  /* loop counters */
  81.     char *ptr;  /* pointer in array.. */
  82.     char ch;
  83.  
  84.     for(i1 = 0; i1 < 4; i1++)  /* times to show loop. */
  85.     {
  86.         for(i = 0; i < 16; i++)    /* show one menu. */
  87.         {
  88.             ptr = help[i2++];
  89.             move(i,0);  /* move to start of line. */
  90.             addstr(ptr);
  91.         }
  92.         move(i,0);  /* move to start of line. */
  93.         addstr("<return> to continue, <space> to exit");
  94.         refresh();    /* show on screen. */
  95.         ch = (char) getchar();    /* just for now, get anything. */
  96.         if(ch == ' ') /* if return or what ever.. */
  97.             break;  /* exit routine now. */
  98.     }
  99.     move(i,0);  /* move to start of line. */
  100.     addstr("                                        ");
  101. }
  102.